package com.vdong.shardingorder.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 宋发准
 * @since 2021-08-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="VdOrder对象", description="VdOrder对象")
@TableName("vd_order")
public class VdOrder implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "订单id")
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty(value = "总金额")
    @TableField("total_money")
    private Integer totalMoney;

    @ApiModelProperty(value = "优惠金额")
    @TableField("coupon_money")
    private Integer couponMoney;

    @ApiModelProperty(value = "邮费")
    @TableField("postage_money")
    private Integer postageMoney;

    @ApiModelProperty(value = "实际支付金额")
    @TableField("actual_money")
    private Integer actualMoney;

    @ApiModelProperty(value = "状态,1:待支付,2:待发货,3:待收货,4:待确认,5:待评论,6:已完成")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "0:无售后,1:售后申请,2:审核通过,3:审核不通过,4:售后完成")
    @TableField("after_status")
    private Integer afterStatus;


}
